﻿using Newtonsoft.Json;

namespace Fadada.FASC.SDK.DotNetCore.Model
{
    public class FieldTextMultiLine
    {
        /// <summary>
        /// 是否必须：false/true，默认为true。
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "required", Required = Newtonsoft.Json.Required.AllowNull)]
        public bool Required { get; set; } = true;

        /// <summary>
        /// 指定默认值。该默认值会直接显示在控件中
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "defaultValue", Required = Newtonsoft.Json.Required.AllowNull)]
        public string DefaultValue { get; set; }
    }
}